<template>
  <div class="hello">
    <ul>
      <li><router-link to="/button" >按钮示例</router-link></li>
      <li><router-link to="/button" >按钮示例</router-link></li>
      <li><router-link to="/button" >按钮示例</router-link></li>
      <li><router-link to="/button" >按钮示例</router-link></li>
    </ul>

    <button disabled="true" class="btn">按钮</button>
    <el-button disabled>按钮</el-button>
  </div>
</template>

<script>
// import Cell from 'sgs-cell'
export default {
  name: 'hello',
  components: {
    // Cell
  },
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods: {
    ccc: function() {
      // alert('ccc');
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

.btn:active { background-color: yellow; }
.el-button--default:active { background-color: yellow; }

h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
}

li {
  display: block;
  /*margin: 0 10px;*/
  /*width: 100%;*/
  padding: 10px 15px;
  text-align: left;
}

a {
  color: #42b983;
  display: block;
  background-color: white;
  padding: 5px 0px;
  border-bottom: .5px solid #ccc; 
}
</style>
